package com.gpframework.module.wages.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gpframework.module.wages.domain.GzWarehouseEvaluation;
import com.gpframework.module.wages.domain.req.GzWarehouseEvaluationUpdate;
import com.gpframework.module.wages.domain.vo.GzWarehouseEvaluationVo;

import java.util.Date;
import java.util.List;
/**
 * @ClassName GzWarehouseEvaluation
 * @Author gpframework
 * @Date 2024-01-19
 * @Version 1.0.0
 * @Description 仓库评定Service接口
 */
public interface IGzWarehouseEvaluationService extends IService<GzWarehouseEvaluation> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2024-01-19
     * @Param [lqw]
     * @Return List<GzWarehouseEvaluationVo>
     */
    List<GzWarehouseEvaluationVo> listVo(QueryWrapper<GzWarehouseEvaluation> lqw);

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2024-01-19
     * @Param [id]
     * @Return GzWarehouseEvaluationVo
     */
    GzWarehouseEvaluationVo getVoById(Long id);

    void deleteByMonth(Date yearMonth);

    boolean editBatch(List<GzWarehouseEvaluationUpdate> list);

    String importListNote(List<GzWarehouseEvaluationVo> excelList, boolean updateSupport);

    List<GzWarehouseEvaluationVo> listVoed(QueryWrapper<GzWarehouseEvaluation> lqw);
}
